package com.gopay.common.trace.def;

import java.io.Serializable;

/**
 * @author ddh02
 * @Endpoint
 * @2017/3/30 9:55  www.gopay.com.cn Inc.All rights reserved.
 */


public class Endpoint implements Serializable {

    private String ip;
    private Integer port;

    public Endpoint(){

    }
    public Endpoint(String ip, Integer port) {
        this.ip = ip;
        this.port = port;
    }


    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    @Override
    public String toString() {
        return "Endpoint{" +
                "ip='" + ip + '\'' +
                ", port=" + port +
//                ", serviceName='" + serviceName + '\'' +
                '}';
    }
}
